package org.shagin.jfin.date.cond;

import java.io.Serializable;
import java.util.Date;

/**
 * The Interface IDateCondition.
 */
public interface IDateCondition extends Cloneable, Serializable {

    /**
     * Valid date.
     * 
     * @param date the date
     * @return true, if successful
     */
    boolean validDate(Date date);

    /**
     * Gets the range.
     * 
     * @return the range
     */
    DateRange getRange();

    String format();
}
